package com.ssy.lingxi.settle.accounts.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 平台结算策略设置状态VO
 * @author 伍将
 * @date 2020/10/21
 * @version 2.0.0
 */
public class PlatformSettlementStrategySetStatusVO implements Serializable {
    private static final long serialVersionUID = -5324055192804692471L;

    /**
     * 策略id
     */
    @NotNull(message = "策略id要大于0")
    @Positive(message = "策略id要大于0")
    private Long id;

    /**
     * 状态：0-无效，1—有效
     */
    @NotNull(message = "状态范围为：0-1")
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
